<template>
  <div id="app">
    <router-view />
  </div>
</template>

<script>
export default {
  name: 'App',
  watch: {
    $route(v) {
      document.title = v.meta.title
    }
  }
}
</script>

<style lang="scss">
html {
  margin: 0;
  width: 100%;
  height: 100%;
  position: relative;
  background: #02091F;
  &::-webkit-scrollbar {
    width: 0.06rem;
  }
  &::-webkit-scrollbar-thumb {
    background: rgba(#159aff, .3);
    border-radius: 0.02rem;
  }
} 
body {
  margin: 0;
  width: 100%;
  position: relative;
  background: #02091F;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  width: 100%;
  height: 100%;
  position: relative;
}
</style>
